import Vue from 'vue'
import Router from 'vue-router'
import ProjectList from '@/components/ProjectList'
import ViewProject from '@/components/ViewProject'
import HistoryPros from '@/components/HistoryPros'
import RunningPros from '@/components/RunningPros'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'ProjectList',
      component: ProjectList
    },
    {
      path: '/viewProject',
      name: 'ViewProject',
      component: ViewProject
    },
    {
      path: '/historyPros',
      name: 'HistoryPros',
      component: HistoryPros
    },
    {
      path: '/runningPros',
      name: 'RunningPros',
      component: RunningPros
    },
  ],
  //去掉地址中的哈希#
  mode:"history",
})
